.class Lcom/instagram/creation/video/f/am;
.super Lcom/instagram/d/a;
.source "VideoImportFragment.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/instagram/d/a",
        "<",
        "Ljava/lang/Void;",
        "Ljava/lang/Void;",
        "Ljava/lang/Boolean;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic a:Lcom/instagram/creation/video/f/ae;

.field private b:Lcom/instagram/ui/a/d;


# direct methods
.method private constructor <init>(Lcom/instagram/creation/video/f/ae;)V
    .locals 0
    .parameter

    .prologue
    .line 600
    iput-object p1, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-direct {p0}, Lcom/instagram/d/a;-><init>()V

    return-void
.end method

.method synthetic constructor <init>(Lcom/instagram/creation/video/f/ae;Lcom/instagram/creation/video/f/af;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 600
    invoke-direct {p0, p1}, Lcom/instagram/creation/video/f/am;-><init>(Lcom/instagram/creation/video/f/ae;)V

    return-void
.end method


# virtual methods
.method protected varargs a([Ljava/lang/Void;)Ljava/lang/Boolean;
    .locals 8
    .parameter

    .prologue
    const/4 v7, 0x0

    .line 615
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    iget-object v1, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v1}, Lcom/instagram/creation/video/f/ae;->Z()Lcom/instagram/pendingmedia/model/c;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/creation/video/f/ae;->a(Lcom/instagram/creation/video/f/ae;Lcom/instagram/pendingmedia/model/c;)Lcom/instagram/pendingmedia/model/c;

    .line 619
    :try_start_0
    new-instance v0, Ljava/io/RandomAccessFile;

    iget-object v1, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v1}, Lcom/instagram/creation/video/f/ae;->f(Lcom/instagram/creation/video/f/ae;)Ljava/io/File;

    move-result-object v1

    const-string v2, "r"

    invoke-direct {v0, v1, v2}, Ljava/io/RandomAccessFile;-><init>(Ljava/io/File;Ljava/lang/String;)V

    .line 620
    invoke-virtual {v0}, Ljava/io/RandomAccessFile;->getChannel()Ljava/nio/channels/FileChannel;

    move-result-object v0

    invoke-static {v0}, Lcom/googlecode/mp4parser/a/b/a/a;->a(Ljava/nio/channels/ReadableByteChannel;)Lcom/googlecode/mp4parser/a/c;
    :try_end_0
    .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0

    move-result-object v0

    .line 625
    if-eqz v0, :cond_5

    .line 626
    invoke-virtual {v0}, Lcom/googlecode/mp4parser/a/c;->a()Ljava/util/List;

    move-result-object v0

    .line 627
    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v1

    if-nez v1, :cond_0

    .line 628
    const-string v0, "VideoImportFragment"

    const-string v1, "No tracks for imported movie."

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 629
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    .line 653
    :goto_0
    return-object v0

    .line 621
    :catch_0
    move-exception v0

    .line 622
    const-string v1, "VideoImportFragment"

    const-string v2, "Failed to build movie"

    invoke-static {v1, v2, v0}, Lcom/facebook/e/a/a;->a(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V

    .line 623
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto :goto_0

    .line 631
    :cond_0
    invoke-interface {v0}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_1
    :goto_1
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_3

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/googlecode/mp4parser/a/e;

    .line 632
    invoke-interface {v0}, Lcom/googlecode/mp4parser/a/e;->l()Ljava/lang/String;

    move-result-object v2

    const-string v3, "vide"

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_1

    .line 633
    invoke-static {v0}, Lcom/instagram/creation/video/j/h;->a(Lcom/googlecode/mp4parser/a/e;)[D

    move-result-object v0

    .line 634
    array-length v2, v0

    if-nez v2, :cond_2

    .line 635
    const-string v0, "No data on sync sample times for this video"

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "Size: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v2}, Lcom/instagram/creation/video/f/ae;->f(Lcom/instagram/creation/video/f/ae;)Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->length()J

    move-result-wide v2

    const-wide/16 v4, 0x400

    div-long/2addr v2, v4

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " KB "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "Duration: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v2}, Lcom/instagram/creation/video/f/ae;->g(Lcom/instagram/creation/video/f/ae;)J

    move-result-wide v2

    invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, " ms "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string v2, "Path: "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v2}, Lcom/instagram/creation/video/f/ae;->f(Lcom/instagram/creation/video/f/ae;)Ljava/io/File;

    move-result-object v2

    invoke-virtual {v2}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/instagram/g/c;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 639
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto/16 :goto_0

    .line 641
    :cond_2
    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    iget-object v3, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v3}, Lcom/instagram/creation/video/f/ae;->g(Lcom/instagram/creation/video/f/ae;)J

    move-result-wide v3

    const-wide/16 v5, 0x3e8

    div-long/2addr v3, v5

    long-to-int v3, v3

    invoke-static {v0, v3}, Lcom/instagram/creation/video/j/j;->a([DI)[D

    move-result-object v0

    iput-object v0, v2, Lcom/instagram/creation/video/f/ae;->a:[D

    goto/16 :goto_1

    .line 645
    :cond_3
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    iget-object v0, v0, Lcom/instagram/creation/video/f/ae;->a:[D

    array-length v0, v0

    if-nez v0, :cond_4

    .line 646
    const-string v0, "VideoImportFragment"

    const-string v1, "No keyframes stored on this video track"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 647
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto/16 :goto_0

    .line 649
    :cond_4
    const/4 v0, 0x1

    invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto/16 :goto_0

    .line 652
    :cond_5
    const-string v0, "VideoImportFragment"

    const-string v1, "Movie was not created"

    invoke-static {v0, v1}, Lcom/facebook/e/a/a;->b(Ljava/lang/String;Ljava/lang/String;)V

    .line 653
    invoke-static {v7}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;

    move-result-object v0

    goto/16 :goto_0
.end method

.method protected bridge synthetic a([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 600
    check-cast p1, [Ljava/lang/Void;

    invoke-virtual {p0, p1}, Lcom/instagram/creation/video/f/am;->a([Ljava/lang/Void;)Ljava/lang/Boolean;

    move-result-object v0

    return-object v0
.end method

.method protected a(Ljava/lang/Boolean;)V
    .locals 9
    .parameter

    .prologue
    const/4 v1, 0x0

    .line 659
    invoke-super {p0, p1}, Lcom/instagram/d/a;->a(Ljava/lang/Object;)V

    .line 661
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    if-eqz v0, :cond_0

    .line 662
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    invoke-virtual {v0}, Lcom/instagram/ui/a/d;->dismiss()V

    .line 663
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    .line 666
    :cond_0
    invoke-virtual {p1}, Ljava/lang/Boolean;->booleanValue()Z

    move-result v0

    if-eqz v0, :cond_3

    .line 667
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    iget-object v2, v0, Lcom/instagram/creation/video/f/ae;->a:[D

    array-length v3, v2

    move v0, v1

    :goto_0
    if-ge v0, v3, :cond_1

    aget-wide v4, v2, v0

    invoke-static {v4, v5}, Ljava/lang/Double;->valueOf(D)Ljava/lang/Double;

    .line 668
    new-instance v4, Landroid/widget/ImageView;

    iget-object v5, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v5}, Lcom/instagram/creation/video/f/ae;->getContext()Landroid/content/Context;

    move-result-object v5

    invoke-direct {v4, v5}, Landroid/widget/ImageView;-><init>(Landroid/content/Context;)V

    .line 669
    sget v5, Lcom/facebook/av;->trim_frame_bg:I

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 670
    new-instance v5, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v6, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v6}, Lcom/instagram/creation/video/f/ae;->h(Lcom/instagram/creation/video/f/ae;)D

    move-result-wide v6

    double-to-int v6, v6

    iget-object v7, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v7}, Lcom/instagram/creation/video/f/ae;->i(Lcom/instagram/creation/video/f/ae;)D

    move-result-wide v7

    double-to-int v7, v7

    invoke-direct {v5, v6, v7}, Landroid/widget/LinearLayout$LayoutParams;-><init>(II)V

    .line 672
    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 673
    invoke-virtual {v4, v1, v1, v1, v1}, Landroid/widget/ImageView;->setPadding(IIII)V

    .line 674
    iget-object v5, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v5}, Lcom/instagram/creation/video/f/ae;->j(Lcom/instagram/creation/video/f/ae;)Landroid/widget/LinearLayout;

    move-result-object v5

    invoke-virtual {v5, v4}, Landroid/widget/LinearLayout;->addView(Landroid/view/View;)V

    .line 667
    add-int/lit8 v0, v0, 0x1

    goto :goto_0

    .line 678
    :cond_1
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    sget-object v2, Lcom/instagram/creation/video/f/an;->b:Lcom/instagram/creation/video/f/an;

    invoke-static {v0, v2}, Lcom/instagram/creation/video/f/ae;->a(Lcom/instagram/creation/video/f/ae;Lcom/instagram/creation/video/f/an;)V

    .line 680
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v0}, Lcom/instagram/creation/video/f/ae;->v()Landroid/view/View;

    move-result-object v0

    sget v2, Lcom/facebook/aw;->scrollable_nux:I

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    invoke-static {}, Lcom/instagram/m/b/a;->a()Lcom/instagram/m/b/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/m/b/a;->n()Z

    move-result v0

    if-eqz v0, :cond_2

    const/4 v0, 0x4

    :goto_1
    invoke-virtual {v2, v0}, Landroid/view/View;->setVisibility(I)V

    .line 684
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v0}, Lcom/instagram/creation/video/f/ae;->k(Lcom/instagram/creation/video/f/ae;)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/FrameLayout$LayoutParams;

    .line 686
    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v2}, Lcom/instagram/creation/video/f/ae;->l()Landroid/content/res/Resources;

    move-result-object v2

    sget v3, Lcom/facebook/au;->video_import_timeline_overlay_padding:I

    invoke-virtual {v2, v3}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result v2

    .line 688
    iget-object v3, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v3}, Lcom/instagram/creation/video/f/ae;->l(Lcom/instagram/creation/video/f/ae;)D

    move-result-wide v3

    mul-int/lit8 v5, v2, 0x2

    int-to-double v5, v5

    add-double/2addr v3, v5

    double-to-int v3, v3

    iput v3, v0, Landroid/widget/FrameLayout$LayoutParams;->width:I

    .line 690
    neg-int v2, v2

    iput v2, v0, Landroid/widget/FrameLayout$LayoutParams;->rightMargin:I

    iput v2, v0, Landroid/widget/FrameLayout$LayoutParams;->leftMargin:I

    .line 692
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v0}, Lcom/instagram/creation/video/f/ae;->j(Lcom/instagram/creation/video/f/ae;)Landroid/widget/LinearLayout;

    move-result-object v0

    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v2}, Lcom/instagram/creation/video/f/ae;->getContext()Landroid/content/Context;

    move-result-object v2

    invoke-static {v2}, Lcom/instagram/n/k;->a(Landroid/content/Context;)I

    move-result v2

    int-to-double v2, v2

    iget-object v4, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v4}, Lcom/instagram/creation/video/f/ae;->m(Lcom/instagram/creation/video/f/ae;)D

    move-result-wide v4

    sub-double/2addr v2, v4

    double-to-int v2, v2

    invoke-static {v0, v2}, Lcom/instagram/n/k;->c(Landroid/view/View;I)V

    .line 696
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v0}, Lcom/instagram/creation/video/f/ae;->a(Lcom/instagram/creation/video/f/ae;)Lcom/instagram/creation/video/ui/TrimHandleImageView;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/creation/video/ui/TrimHandleImageView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/RelativeLayout$LayoutParams;

    .line 698
    iget-object v2, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v2}, Lcom/instagram/creation/video/f/ae;->l(Lcom/instagram/creation/video/f/ae;)D

    move-result-wide v2

    double-to-int v2, v2

    iput v2, v0, Landroid/widget/RelativeLayout$LayoutParams;->width:I

    .line 699
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v0}, Lcom/instagram/creation/video/f/ae;->a(Lcom/instagram/creation/video/f/ae;)Lcom/instagram/creation/video/ui/TrimHandleImageView;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/instagram/creation/video/ui/TrimHandleImageView;->setVisibility(I)V

    .line 700
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-static {v0}, Lcom/instagram/creation/video/f/ae;->n(Lcom/instagram/creation/video/f/ae;)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v1}, Lcom/instagram/creation/video/f/ae;->getContext()Landroid/content/Context;

    move-result-object v1

    sget v2, Lcom/facebook/ar;->import_filmstrip_slide_in_right:I

    invoke-static {v1, v2}, Landroid/view/animation/AnimationUtils;->loadAnimation(Landroid/content/Context;I)Landroid/view/animation/Animation;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    .line 706
    :goto_2
    return-void

    :cond_2
    move v0, v1

    .line 680
    goto :goto_1

    .line 703
    :cond_3
    sget v0, Lcom/facebook/ba;->unknown_error_occured:I

    invoke-static {v0}, Lcom/instagram/n/j;->a(I)V

    .line 704
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v0}, Lcom/instagram/creation/video/f/ae;->j()Landroid/support/v4/app/j;

    move-result-object v0

    invoke-virtual {v0}, Landroid/support/v4/app/j;->onBackPressed()V

    goto :goto_2
.end method

.method protected bridge synthetic a(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 600
    check-cast p1, Ljava/lang/Boolean;

    invoke-virtual {p0, p1}, Lcom/instagram/creation/video/f/am;->a(Ljava/lang/Boolean;)V

    return-void
.end method

.method protected b_()V
    .locals 3

    .prologue
    .line 606
    invoke-super {p0}, Lcom/instagram/d/a;->b_()V

    .line 607
    new-instance v0, Lcom/instagram/ui/a/d;

    iget-object v1, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    invoke-virtual {v1}, Lcom/instagram/creation/video/f/ae;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/ui/a/d;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    .line 608
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    iget-object v1, p0, Lcom/instagram/creation/video/f/am;->a:Lcom/instagram/creation/video/f/ae;

    sget v2, Lcom/facebook/ba;->processing:I

    invoke-virtual {v1, v2}, Lcom/instagram/creation/video/f/ae;->b(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/d;->a(Ljava/lang/String;)V

    .line 609
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/instagram/ui/a/d;->setCancelable(Z)V

    .line 610
    iget-object v0, p0, Lcom/instagram/creation/video/f/am;->b:Lcom/instagram/ui/a/d;

    invoke-virtual {v0}, Lcom/instagram/ui/a/d;->show()V

    .line 611
    return-void
.end method
